Templately\Core\Importer\FullSiteImport D

Total Complexity 333
Dependencies 16
Dependents 4
Total lines 1,751
Lines of code 1,203
Logical lines of code 742
Comment lines 238
Methods 54
Properties 13

Methods 54

Method Rating Maintainability Complexity Lines of code
import_revert()
C
34 28 81
cleanup_ai_process_directories()
B
44 22 41
cleanup_session_directories()
B
45 21 39
ai_get_json()
B
39 17 62
normalize_imported_data()
B
42 16 47
import()
A
35 13 86
unzip()
A
43 12 48
create_session_and_download()
A
41 11 55
import_info()
A
44 11 44
process_ai_preview_content()
A
46 11 38
feedback_form()
A
44 10 39
clear_data_file()
A
49 10 27
handle_import_status()
A
41 8 52
download_zip()
A
44 8 41
import_settings()
A
46 8 37
google_font()
A
48 7 31
import_status()
S
57 8 15
register_shutdown()
S
48 7 30
add_ajax_action()
S
54 7 20
finishRequestHeaders()
S
48 6 35
extract_content_metadata()
S
57 7 15
__construct()
S
51 6 25
import_ai_settings()
S
53 6 20
initialize_props()
S
57 6 18
start_content_import()
S
45 4 40
copyDirectory()
S
59 5 14
import_close_feedback_modal()
S
50 4 27
unzip_file()
S
56 4 18
removeDirectory()
S
60 4 13
getConnectionStatusText()
S
62 4 13
check_writing_permission()
S
61 3 11
wp_image_editors()
S
70 3 6
redirect_for_archives()
S
67 3 7
has_revert()
S
66 3 8
add_revert_hooks()
S
58 1 17
admin_init()
S
71 2 6
throw()
S
71 2 6
throw_non_retryable()
S
71 2 6
throw_retryable()
S
71 2 6
throw_unknown()
S
71 2 6
get_api_url()
S
77 2 3
info_get_api_url()
S
78 2 3
read_manifest()
S
64 2 9
skipped_plugin()
S
78 2 3
get_post_type_label_by_slug()
S
69 2 7
get_session_data()
S
81 1 3
update_session_data()
S
80 1 3
clear_session_data()
S
80 1 3
before_install_hook()
S
79 1 3
after_install_hook()
S
91 1 2
get_request_params()
S
82 1 3
revert()
S
91 1 2
allow_svg_upload()
S
76 1 4
update_imported_list()
S
72 1 5